package com.woniuxy.service;

import java.util.List;

import com.woniuxy.pojo.Member;

public interface MemberService {
	
	//模糊查询member
	List<Member> findMember(String message);

	//得到所有member
	List<Member> getAll();

	//修改member信息 一般只有名字和等级可修改
	int updateMember(Member member);

	/**
	 * @param member
	 * @return
	 */
	int addMember(Member member);

	int delMember(String mnumber);
	
	List<Member> findByName(String name);

	Member findByMember(Member member);

	Member findByMnumber(String mnumber);
}
